#include "stdafx.h"
#include "Application.h"
#include "MsgAll.h"
#include "Network.h"
#include "EventMgr.h"

namespace cupid
{

DECLARE_SINGLETON_MEMBER(Application);
DECLARE_SINGLETON_MEMBER(EventMgr);


Application::Application(void)
{
	init();
}

Application::~Application(void)
{
}
void Application::init()
{
	sNetwork->init("127.0.0.1", SERVER_LISTEN_PORT);
}
void Application::run()
{
	sNetwork->processNetMsg();
}
}